package org.tinygroup.restpractice.pojo;

import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

public class UserTable extends Table {
    public static final UserTable USER = new UserTable();
    public final Column ID = new Column(this, "id");
    public final Column NAME = new Column(this, "name");
    public final Column AGE = new Column(this, "age");

    public UserTable() {
        super("tuser");
    }
    
    public UserTable(String schemaName,String alias) {
        super(schemaName, "tuser", alias);
    }
    
    public UserTable(String schemaName,String alias,boolean withAs) {
        super(schemaName, "tuser", alias, withAs);
    }
    
//    public Map<String, KeyGenerator> getGeneratorMap() {
//    	 Map<String,KeyGenerator> generatorMap=new CaseInsensitiveMap(); 
//    	 generatorMap.put("id", new MyKeyGenerater());
//		return generatorMap;
//	}
    
}